package com.voltmao.persistent.mapper;

import org.apache.ibatis.annotations.Param;
import com.voltmao.persistent.model.ProviderUserSbgs;
import com.voltmao.persistent.model.ProviderUserSbgsCriteria;

import java.util.List;
import java.util.Map;

public interface ProviderUserSbgsMapper {
    int countByExample(ProviderUserSbgsCriteria example);

    int deleteByExample(ProviderUserSbgsCriteria example);

    int deleteByPrimaryKey(String dataId);

    int insert(ProviderUserSbgs record);

    int insertSelective(ProviderUserSbgs record);

    List<ProviderUserSbgs> selectByExample(ProviderUserSbgsCriteria example);

    ProviderUserSbgs selectByPrimaryKey(String dataId);

    int updateByExampleSelective(@Param("record") ProviderUserSbgs record, @Param("example") ProviderUserSbgsCriteria example);

    int updateByExample(@Param("record") ProviderUserSbgs record, @Param("example") ProviderUserSbgsCriteria example);

    int updateByPrimaryKeySelective(ProviderUserSbgs record);

    int updateByPrimaryKey(ProviderUserSbgs record);

    ProviderUserSbgs selectByExampleForOne(ProviderUserSbgsCriteria example);

    Map<String, Object> selectMapByPrimaryKey(String dataId);

    Map<String, Object> selectMapByExampleForOne(ProviderUserSbgsCriteria example);

    List<Map<String, Object>> selectMapByExample(ProviderUserSbgsCriteria example);
}